home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
MODULA_2
/
2394.ZIP
/
M2TOOLS1.ZIP
/
README
< prev
next >
Wrap
Text File
|
1990-09-12
|
5KB
|
205 lines
M O D U L A - 2 T O O L K I T
===============================
by
Robin Smallwood
Copywrite 1990
INTRODUCTION
These Modula-2 library modules are designed to supplement the standard library
routines provided by most Modula-2 compilers. They were written for the
Logitech Modula-2 Compiler v3.0.
The routines are particularly aimed at the novice/good Modula-2 programmer with
the aim of not only providing an insight to Modula-2 programming techniques for
but also to save many hours of development time.
All the more advanced features provided by the routines are demonstrated in 6
purpose built executable test modules, the source code for which has been
provided.
ABOUT SHAREWARE
These Modula-2 library modules are being distributed as a ShareWare product,
which means that you can `try before you buy'. All the procedures/functions
listed in the Definition modules are supported, however if you register you will
be sent copies of the Implementation modules which you are then free to alter
for your specific needs. You are under no obligation to register your copy,
however, if you find that these routines have been useful to you and have saved
you many hours of programming, then you can register by sending £10 to :
Robin Smallwood
The Shepherd's Cottage
26 Granham's Road
Great Shelford
Cambridge
CB2 5JX
ENGLAND
A BRIEF DESCRIPTION
ByteOps2 provides routines for combining BYTEs to produce WORDs and visa versa.
DecimalOps provides routines for converting decimals to strings and strings to
decimals.
Encrypt provides the simple facility of encrypting/decrypting files.
FieldHandler provides routines to display and edit fields in a formatted layout
on the screen.
InOut2 provides additional routines to the standard InOut module.
ListHandler provides procedures that allow text (e.g. database information) to
be viewed from a window and scrolled through using definable keys. (See
TestList.MOD).
MemOps2 provides additional memory operations including screen memory handling.
Menus contains a list of routines that allow for simple manipulation of
pull-down menus.
PrinterOps gives controls over a printer. In this case the printer must be
Epson FX compatible.
RandomNumbers provides support for generating random numbers. It is quicker
than many equivalent random number generators.
ScreenHandler provides lots of useful screen handline routines including turning
the cursor on/off, cursor positioning and movement, screen scrolling and
colour/monochrome attribute handling.
Streams provides easy to use file handling routines.
Strings2 is a supplement to the normal Strings module, including routines to
shift strings, initialise strings, repeat characters, trim strings and edit
strings using standard cursor keys.
Windows provides simple yet fast window handling.
CONTENTS
The disks contain the following files :
Files on Disk #1
--------------------------
BYTEOPS2.DEF - Byte/Word Operations
BYTEOPS2.OBJ
BYTEOPS2.REF
BYTEOPS2.SYM
DECIMALO.DEF - Decimal Number Handler
DECIMALO.OBJ
DECIMALO.REF
DECIMALO.SYM
ENCRYPT.DEF - File Encryption Handler
ENCRYPT.OBJ
ENCRYPT.REF
ENCRYPT.SYM
TESTENCR.EXE - File Encryption Test Program
TESTENCR.MOD
FIELDHAN.DEF - Field Handler
FIELDHAN.OBJ
FIELDHAN.REF
FIELDHAN.SYM
INOUT2.DEF - Additional InOut Commands
INOUT2.OBJ
INOUT2.REF
INOUT2.SYM
LISTHAND.DEF - List Handler
LISTHAND.OBJ
LISTHAND.REF
LISTHAND.SYM
MEMOPS2.DEF - Additional Memory Operations
MEMOPS2.OBJ
MEMOPS2.REF
MEMOPS2.SYM
MENUS.DEF - Menu Handler
MENUS.OBJ
MENUS.REF
MENUS.SYM
PRINTERO.DEF - Printer Operations
PRINTERO.OBJ
PRINTERO.REF
PRINTERO.SYM
RANDOMNU.DEF - Random Number Generator
RANDOMNU.OBJ
RANDOMNU.REF
RANDOMNU.SYM
README - This File
SCREENHA.DEF - Screen Handler Routines
SCREENHA.OBJ
SCREENHA.REF
SCREENHA.SYM
STREAMS.DEF - File Handler
STREAMS.OBJ
STREAMS.REF
STREAMS.SYM
STRINGS2.DEF - Additional Strings Commands
STRINGS2.OBJ
STRINGS2.REF
STRINGS2.SYM
WINDOWS.DEF - Window Handler
WINDOWS.OBJ
WINDOWS.REF
WINDOWS.SYM
Files on Disk #2
---------------------------------
TESTDECI.EXE - Decimal Numbers
TESTDECI.MOD
TESTEDIT.EXE - EditString (from Strings2.DEF)
TESTEDIT.MOD
TESTFIEL.EXE - Field Handler
TESTFIEL.MOD
TESTLIST.EXE - List Handler
TESTLIST.MOD
TESTMENU.EXE - Menu Handler
TESTMENU.MOD
TESTWIND.MOD - Windows
TESTWIND.EXE
README - This File
All the test modules can be run by typing the name of the example you
require. e.g.
C:>testlist ─┘
Good luck and many happy programming hours!